<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2015-9-8
 * Time: 16:33
 */

namespace zhtfrontend\controllers;

use doumiaoduo\ueditor\actions\UploadvideoAction;
use doumiaoduo\ueditor\ImageUploadMultiple;
use zhtfrontend\components\bases\BaseController;
use doumiaoduo\ueditor\actions\ConfigAction;
use doumiaoduo\ueditor\actions\UploadfileAction;
use doumiaoduo\ueditor\actions\UploadscrawlAction;
use doumiaoduo\ueditor\actions\ListimageAction;
use doumiaoduo\ueditor\actions\ListfileAction;
use doumiaoduo\aliyun\actions\OssuploadimageAction;

class UploaderController extends BaseController
{


    public function actions()
    {
        return [
            'config'=>[
                'class'=> ConfigAction::className()
            ],
            'uploadimage'=>[
                'class' => OssuploadimageAction::className()
            ],
            'uploadvideo'=>[
                'class' => UploadvideoAction::className()
            ],
            'uploadfile'=>[
                'class'=> UploadfileAction::className()
            ],
            'uploadscrawl'=>[
                'class'=> UploadscrawlAction::className()
            ],
            'listimage'=>[
                'class'=> ListimageAction::className()
            ],
            'listfile'=>[
                'class'=> ListfileAction::className()
            ],
            'uploadimagemultiple'=>[
                'class'=> ImageUploadMultiple::className()
            ]
        ];
    }

}